<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'editClient_main.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="css/left_tabmenu.css">
	<script type="text/javascript" src="js/showmenu.js"></script>
	<style type="text/css">
	.basic_info{
font-size:12;
}
.basic_info input{
BORDER-RIGHT: gray 1px solid;
	BORDER-TOP: gray 1px solid;
	BORDER-LEFT: gray 1px solid;
	BORDER-BOTTOM: gray 1px solid;
	FONT-FAMILY: verdana;
	BACKGROUND-COLOR: window;
	width:140;
}
.content{text-align:left;}
.item{text-align:right;}
	
	</style>
  </head>
 <body>
 <table width="100%" height="100%">
 <tr><td height="20%">
<div id="top">
<table  width="100%">
<tr><td><jsp:include page="../top.jsp" flush="true"></jsp:include></td></tr>
</table>
</div>
</td></tr>
<!--
<hr   size= "1 "   noshade   style= "color:#BCD2EE;   border-style:dotted; "> 
-->
<tr><td height="500" style="vertical-align:top;">
<div id="main">
<table width="100%" height="500">
<tr>
<td width="20%" height="100%" style="vertical-align:top;border-right:4px #65aaef solid;">
<div id="nav">  
  <div class="title" id="menu1" onclick="showmenu('1') ">→基本信息</div>
  <div id="list1" class="content" style="display:none">
       <ul>
<li><a href="customer/addGeneral.do?custId=${CustInfo.custId}&isView=1">- 概况</a></li>
<li><a href="dispatch.do?type=Cust_Address&custId=${custId}">- 地址</a></li>
<li><a href="customer/addOperation.do?custId=${CustInfo.custId}&isView=1">- 经营情况</a></li>
<li><a href="dispatch.do?type=Cust_Management&custId=${custId}">- 管理层情况</a></li>
<li><a href="dispatch.do?type=Cust_Overview&custId=${custId}">- 总览</a></li> 
    </ul>
  </div> 
 <div class="title" id="menu2" onclick="showmenu('2')"><a href="view/customer/AddCustomer_ReportList.jsp" style="text-decoration: none;color:#fff;">→财务信息</a></div>
  <div id="list2" class="content" style="display:none">
    <ul>
    </ul>
  </div> 
<div class="title" id="menu3" onclick="showmenu('3')">→集团客户信息</div>
  <div id="list3" class="content" style="display:none">
    <ul>
<li><a href="#" title="">- 成员信息</a></li>
<li><a href="#" title="">- 集团信息</a></li>
    </ul>
  </div> 
  <div class="title" id="menu4" onclick="showmenu('4')">→银企合作信息</div>
  <div id="list4" class="content" style="display:none">
    <ul>
<li><a href="view/customer/Customer_Inner.jsp">- 我行存贷款信息</a></li>
<li><a href="view/customer/Customer_Outer.jsp">- 他行存贷款信息</a></li>
<li><a href="dispatch.do?type=Cust_Guarantee&custId=${custId}">- 担保信息</a></li>
    </ul>
  </div> 
    <div class="title" id="menu5" onclick="showmenu('5')">→历史评级信息</div>  
    <div id="list5" class="content" style="display:none">
    <ul>
<li><a href="view/customer/AddCustomer_Rating.jsp">- 外部评级</a></li>
<li><a href="view/customer/AddCustomer_Rating.jsp">- 内部评级</a></li>
    </ul>
  </div> 
<div class="title1" id="menu6" onclick="showmenu('6')"><a href="dispatch.do?type=Cust_Events&custId=${custId}" style="text-decoration: none;color:#fff;">→重大事项</a></div>  
</div>
</td>
<td width="80%" height="100%" style="vertical-align:top" id="right_frame">
<div id="position" align="left">
			<font size="2">当前位置： <a href="" style="text-decoration: none;">首页</a>&gt;&gt;客户管理&gt;&gt;新增客户</font>
		</div>
		<hr />
		<br/>
		<div align="left">
			<img src="images/edit.png" alt="" width="24" height="24"/>
			<font size="2">重大事项</font>
		</div>
		<hr />
		<br/>
		<div>
<form action="customer/saveEvents.do" method="post">
<table width="100%" align="center" cellpadding="2" cellspacing="2" bgcolor="#DDDDDD" id="addr_sum">
<tr bgcolor="#F3F3F3">
<td width="20%">事件类型</td>
<td width="75%">事件描述</td>
<td>选择</td>
</tr>
<c:forEach var ="ce" items="${custEventsList}">
<tr>
<td><c:out value="${DataDictionary['EventType'][ce.eventType]}"></c:out></td>
<td><c:out value="${ce.eventDesc}"></c:out></td>
<td><input type="checkbox" name="selectEvents" checked="checked" value="${ce.serialNo}"/></td>
</tr>
</c:forEach>
</table>
<br/>
<div align="center"><input type="submit" value="保存">&nbsp;&nbsp;<input type="reset" value="取消"></div>
</form>
<form action="customer/addEvents.do" method="post">
<table width="80%"  border=0 align="center"  cellpadding="0" cellspacing="15" class="basic_info">
<tr>
<td class="item" width="20%">事件类型</td>
<td class="content">
<select name="eventType" class="select">
<c:forEach var="entry" items="${DataDictionary['EventType']}">
<option value="<c:out value="${entry.key}" />"><c:out value="${entry.value}" /></option>
</c:forEach>
</select>*
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="item">事件描述</td>
<td class="content">
<textarea name="eventDesc" rows="6" style="WIDTH: 100%"></textarea>
</td>
<td style="text-align: left;">（限200字）</td>
</tr>
</table>
				
			<br />
			<div align="center" id="button">
<input type="submit" value="添加" name="save">&nbsp;&nbsp;<input type="reset" value="取消" name="reset">
</div>
</form>
			</div>
		
</td>
</tr>
</table>

</div>
</td></tr>
<!--<hr   size= "1 "   noshade   style= "color:#BCD2EE;   border-style:dotted; "> 
-->
<tr><td height="10%" style="vertical-align:bottom;">
<div id="footer">
<table  width="100%">
<tr><td style="vertical-align:bottom;text-align:center;"><jsp:include page="../bottom.jsp"></jsp:include></td></tr>
</table>
</div>
</td></tr>
</table>
  </body>
</html>
